package com.wangsb.code0401;

/**
 * @Description: 其中学生的信息有：学号、姓名、年龄
 * @author: shenbing.wang@hand-china
 * @date: 2021年06月20日 14:45
 */
public class Student{

    private String stuNo;
    private String stuName;
    private Integer stuAge;

    public Student() {
    }

    public Student(String stuNo, String stuName, Integer stuAge) {
        this.stuNo = stuNo;
        this.stuName = stuName;
        this.stuAge = stuAge;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuAge() {
        return stuAge;
    }

    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    @Override
    public String toString() {
        return stuNo + "\t" + stuName + "\t\t" + +stuAge;
    }


}
